import Vue from 'vue'
import Vuex from 'vuex'
import user from '@/store/modules/user'
import tabInspection from '@/store/modules/tabInspection'
import keyBoardCheckItem from '@/store/modules/keyBoardCheckItem'
import checkedCache from '@/store/modules/checkedCache'
import maintenanceCache from '@/store/modules/maintenanceCache'
import fixCache from '@/store/modules/fixCache'
import pagination from '@/store/modules/pagination'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    user,
    tabInspection,
    keyBoardCheckItem,
    checkedCache,
    maintenanceCache,
    fixCache,
    pagination
  },
  getters
})

export default store
